package Lesson;

import java.util.Scanner;

public class Demo02Scanner {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入整数：");

        int num = sc.nextInt();
        System.out.println("请输入字符串：");
        String s = sc.next();

        System.out.println(num);
        System.out.println(s);
    }
}
